package com.rajeshDyadav.spring.ioc.example03;

public class Bean12 {
    String one;
    String two;
    
    public Bean12() {
	System.out.println("Bean12 No Arg Constructor");
    }
    
    public Bean12(String one, String two) {
	System.out.println("Bean12 Arg Constructor");
	this.one = one;
	this.two = two;
	
	System.out.println(one + " " + two);
    }    
    
    public String getOne() {
	return one;
    }
    
    public String getTwo() {
	return two;
    }
    
    public void setOne(String string) {
	one = string;
    }
    
    public void setTwo(String string) {
	two = string;
    }
    
    public String mergeString(String one, String two) {
	return(one+ " " + two);
    }
}